<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>订单详情 - Powered By ${systemConfig.systemName}</title>
<meta name="Author" content="webmall Team" />
<meta name="Copyright" content="webmall" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<#include "/WEB-INF/template/common/include.ftl">
<link href="${base}/template/shop/css/login.css" rel="stylesheet" type="text/css" />
<link href="${base}/template/shop/css/register.css" rel="stylesheet" type="text/css" />
<link href="${base}/template/shop/css/member_center.css" rel="stylesheet" type="text/css" />
<link href="${base}/template/shop/css/order.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/template/shop/js/login.js"></script>
<script type="text/javascript" src="${base}/template/shop/js/register.js"></script>
<script>
$().ready( function() {
  getWLInfo("","");
});
    
    
function getWLInfo(com,number)
{
    com = "yuantong";
    number="2739453759";
     
}
    
    </script>
</head>
<body class="memberCenter">
	<#include "/WEB-INF/template/shop/header.ftl">
	<div class="body orderList">
		<div class="bodyLeft">
            <#include "/WEB-INF/template/member/trader_center_left.ftl">
		</div>
		<div class="bodyRight">
			<div class="memberCenterDetail">
				<div class="top">订单详情[${order.orderSn}]</div>
				<div class="middle">
					<div class="order_status">
						<div class="desc">
							<div <#if order.orderStatus == 'unprocessed'> class="step_checked" <#else> class="step_unchecked" </#if>>
								提交订单
							</div>
							<div <#if order.orderStatus == 'processed' && order.shippingStatus=='unshipped' && order.paymentStatus=='paid'> class="step_checked" <#else> class="step_unchecked" </#if>>
								已支付
							</div>
							<div <#if order.orderStatus == 'processed' && order.shippingStatus=='shipped'> class="step_checked" <#else> class="step_unchecked" </#if>>
								已发货
							</div>
							<div <#if order.orderStatus == 'processed' && order.shippingStatus=='confirmed'> class="step_checked" <#else> class="step_unchecked" </#if>>
								已收货
							</div>
							<div <#if order.orderStatus == 'commented'> class="step_checked" <#else> class="step_unchecked" </#if>>
								订单完成
							</div>
						</div>
						<div class="seq">
							<div <#if order.orderStatus == 'unprocessed'> class="step_checked" <#else> class="step_unchecked" </#if>>
							<label>1</label>
							</div>
							<div <#if order.orderStatus == 'processed' && order.shippingStatus=='unshipped' && order.paymentStatus=='paid'> class="step_checked" <#else> class="step_unchecked" </#if>>
							<label>2</label>
							</div>
							<div <#if order.orderStatus == 'processed' && order.shippingStatus=='shipped'> class="step_checked" <#else> class="step_unchecked" </#if>>
							<label>3</label>
							</div>
							<div <#if order.orderStatus == 'processed' && order.shippingStatus=='confirmed'> class="step_checked" <#else> class="step_unchecked" </#if>>
							<div>4</div>
							</div>
							<div <#if order.orderStatus == 'commented'> class="step_checked" <#else> class="step_unchecked" </#if>>
							<label>5</label>
							</div>
						</div>
						
					</div>
					<div class="blank"></div>
					<div class="operationInfo">
						<strong class="green">订单状态 [订单编号：${order.orderSn}]</strong>
						<#if order.orderStatus != "completed" && order.orderStatus != "invalid">
							<#if order.paymentConfig != null>
								<#if order.orderStatus == 'processed' && order.paymentStatus == "paid" && order.shippingStatus=='unshipped' && order.refundSet?size = 1 >
                                    <br/>
                                    已申请退款：
                                    <#list order.refundSet as list>
                                        ${list.refundStatusDesc}
                                    </#list>
								<#elseif order.orderStatus == 'processed' && order.shippingStatus=='shipped'>
                                    <input type="submit" class="formButton process_viewShippingBtn" onclick="window.open('http://www.kuaidi100.com/chaxun?com=yunda&nu=1900171113992','_target');" value="查看物流" />
								</#if>
							</#if>
						</#if>
					</div>
					<div class="blank"></div>
					<table class="listTable">
						<tr>
							<th colspan="2">收货信息</th>
						</tr>
						<tr>
							<td class="title">收货人：</td>
							<td>${order.shipName}</td>
						</tr>
						<tr>
							<td class="title">收货地区：</td>
							<td>${order.shipArea}</td>
						</tr>
						<tr>
							<td class="title">收货地址：</td>
							<td>${order.shipAddress}</td>
						</tr>
						<tr>
							<td class="title">邮编：</td>
							<td>${order.shipZipCode}</td>
						</tr>
						<tr>
							<td class="title">电话：</td>
							<td>${order.shipPhone}</td>
						</tr>
						<tr>
							<td class="title">手机：</td>
							<td>${order.shipMobile}</td>
						</tr>
						<tr>
							<td class="title">附言：</td>
							<td colspan="1">${order.memo}</td>
						</tr>
					</table>
					<div class="blank"></div>
					<table class="listTable">
						<tr>
							<th colspan="2">支付信息</th>
						</tr>
						<tr>
							<td class="title">配送方式：</td>
							<td>${order.deliveryTypeName}</td>
						</tr>
						<tr>
							<td class="title">支付方式：</td>
							<td>${order.paymentConfigName}</td>
						</tr>
						<tr>
							<td class="title">商品重量：</td>
							<td>${order.productWeight} ${action.getText("WeightUnit." + order.productWeightUnit)}</td>
						</tr>
						<tr>
							<td class="title">配送费用：</td>
							<td><span class="red">${order.deliveryFee?string(orderUnitCurrencyFormat)}</span></td>
						</tr>
					</table>
					<div class="blank"></div>
					<table class="listTable">
						<tr>
							<th>商品名称</th>
							<th>购买价格</th>
							<th>购买数量</th>
							<th>小计</th>
						</tr>
						<#list order.orderItemSet as list>
							<tr>
								<td>
									<a href="${base}${list.productHtmlFilePath}" target="_blank">
                                        <img src="${base}${(list.productitem.product.productImageList[0].thumbnailProductImagePath)!systemConfig.defaultThumbnailProductImagePath}" style="width:60px;height:60px;" />
										<br />
									${list.productName}
                                        <#if (list.productitem.color != null && list.productitem.propertiesValue != null)>
							    					[颜色:${(list.productitem.color.name)!},尺寸:${(list.productitem.propertiesValue.lable)!}]
							    			<#elseif (list.productitem.color != null && list.productitem.propertiesValue == null)>
							    					[颜色:${(list.productitem.color.name)!}]
							    			<#elseif (list.productitem.propertiesValue != null)>
							    					[尺寸:${(list.productitem.propertiesValue.lable)!}]
							    			</#if>
                                    </a>
									
								</td>
								<td>
									${list.productPrice?string(priceCurrencyFormat)}
								</td>
								<td>
									${list.productQuantity}
								</td>
								<td>
									<span class="subtotalPrice">${list.subtotalPrice?string(orderCurrencyFormat)}</span>
								</td>
							</tr>
						</#list>
						<tr>
							<td class="info" colspan="4">
								商品总金额：<span class="red">${order.productTotalPrice?string(orderUnitCurrencyFormat)}</span>&nbsp;&nbsp;&nbsp;&nbsp;
								配送费用：<span class="red">${order.deliveryFee?string(orderUnitCurrencyFormat)!}</span>&nbsp;&nbsp;&nbsp;&nbsp;
								支付手续费：<span class="red">${order.paymentFee?string(orderUnitCurrencyFormat)!}</span>&nbsp;&nbsp;&nbsp;&nbsp;
								订单总金额：<span class="red">${order.totalAmount?string(orderUnitCurrencyFormat)}</span>
							</td>
						</tr>
					</table>
					<div class="blank"></div>
					<table class="listTable">
						<tr>
							<th colspan="5">订单日志</th>
						</tr>
						<tr>
							<th>序号</th>
							<th>日志类型</th>
							<th>日志信息</th>
							<th>操作时间</th>
							<th>操作人</th>
						</tr>
						<#list order.orderLogSet as list>
							<tr>
								<td>${list_index + 1}</td>
								<td>${action.getText("OrderLogType." + list.orderLogType)}</td>
								<td>${list.info!"-"}</td>
								<td>${list.createDate?string("yyyy-MM-dd HH:mm:ss")}</td>
								<td>${list.operator!"-"}</td>
							</tr>
						</#list>
					</table>
					<div class="blank"></div>
				</div>
				<div class="bottom"></div>
			</div>
		</div>
		<div class="blank"></div>
		<#include "/WEB-INF/template/shop/friend_link.ftl">
	</div>
	<div class="blank"></div>
	<#include "/WEB-INF/template/shop/footer.ftl">
</body>
</html>